<#ftl encoding="UTF-8">
<#import "/spring.ftl" as spring />
<#include "../../consts.ftl">
<form name="frm" action="#" method="post">
<table width="100%" cellpadding="5" cellspacing="0" class="tabWhole">
  <tr class="tabT">
    <td class="tabTitle"><input type="checkbox" name="checkall" onclick="var checked=this.checked;for(var i=0;i<this.form.elements.length;i++){var e=this.form.elements[i];if (e.name=='checkValue'){if(e.disabled==true)continue;if(e.checked!=checked){e.click();}}}"/></td>
    <td class="tabTitle">资源码</td>
    <td class="tabTitle">资源名称</td>
    <td class="tabTitle">资源描述</td>
    <td class="tabTitle">资源类型</td>
    <td class="tabTitle">优先级</td>
    <td class="tabTitle">资源链接</td>
    <td class="tabTitle">禁用</td>
    <td class="tabTitle">超级权限</td>
    </tr>
<#if v_data ? exists> 
	<#list v_data as elem> 
  <tr class="tablex" onmouseover="this.className='tabBgA'" onmouseout="this.className='tablex'">
    <td>
   <input type="checkbox" name="checkValue" value="${elem.id}" id="il_${elem.id}chk"/>
    </td>
    <td>${elem.resCode?default("")}</td>
    <td><a href="${ctx}/admin/auth/res/view.htm?id=${elem.id?default(0)}">${elem.resName?default("")}</a></td>
    <td>${elem.resDesc?default("")}</td>
    <td>${elem.resType?default("")}</td>
    <td>${elem.priority?default("")}</td>
    <td>${elem.resLink?default("")}</td>
    <td><#if elem.enabled==1>是<#else>否</#if></td>
    <td><#if elem.issys==1>是<#else>否</#if></td>
  </tr>
  	</#list> 
</#if>
</table>
</form>
${pageBreakStr}